home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
langs
/
isetl.arc
/
map.t
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1987-08-20
|
297 b
|
14 lines
program capitalize;
little := "abcdefghijklmnopqrstuvwxyz";
capital := "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
cap_of := { [a,capital(i)] : a=little(i) };
read word;
result := "";
for a in word do
result := result + cap_of(a) ? a;
end;
print result;
end;
"try This 123";